getUrl

abstract fun getUrl(): String

Gets the URL that serves as the entry point for the gadget's content.

This is typically an HTTP or HTTPS URL pointing to the main HTML file of the gadget (e.g., "https://example.com/mygadget/index.html" or a local file path if the gadget is packaged with the player content e.g. "file:///path/to/gadget/index.html"). The player's web runtime will load this URL to render the gadget.

Return

The non-null URL string for the gadget's main document.